package com.prx.ThreadDemo;

public class ThreadOne extends Thread{
    @Override
    public void run() {
        //重写run方法到达多线程的业务逻辑处理
        for(int i=0;i<20;i++) {
            System.out.println("Thread One"+i);
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
